using UnityEngine;
using System.Collections;


public class Credit : MonoBehaviour {
	public string stringToEdit = "Bob";

	void OnGUI () {
				
	if(GUI.Button(new Rect(0,0, 200, 25), "Back")) {
			Application.LoadLevel(0);
		}
		stringToEdit = GUI.TextField(new Rect(0, 30, 200, 25), stringToEdit, 25);
		GUI.Label(new Rect(0, 60, 200, 25), stringToEdit + " made this game");
	}
}